{include file="header.html"}
<script type="text/javascript">
    $(function() {
        $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
        $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
    });
</script>
<div id="rightTop">
    <p>{$lang.admin_log}</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="admin_log" />
                <input type="hidden" name="act" value="index" />
                {$lang.admin_name}:<input class="queryInput" type="text" value="{$query.admin_name}" name="admin_name" />
                {$lang.add_time_from}:<input class="queryInput" type="text" value="{$query.add_time_from}" id="add_time_from" name="add_time_from" class="pick_date" />
                {$lang.add_time_to}:<input class="queryInput" type="text" value="{$query.add_time_to}" id="add_time_to" name="add_time_to" class="pick_date" />
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=admin_log">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
    <div class="fontr">{include file=page.top.html}</div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $admin_log_list}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td width="200"><span ectype="order_by" fieldname="admin_id">{$lang.admin_name}</span></td>
            <td width="200"><span ectype="order_by" fieldname="createtime">{$lang.createtime}</span></td>
            <td width="200">{$lang.content}</td>
            <td width="200"><span ectype="order_by" fieldname="ip">{$lang.IP}</span></td>
            <td><span ectype="order_by" fieldname="url">{$lang.url}</span></td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$admin_log_list item=admin_log}-->
        <tr class="tatr2">
            <td class="firstCell"><input type="checkbox" class="checkitem" value="{$admin_log.id}" /></td>
            <td>{$admin_log.admin_name|escape}</td>
            <td>{$admin_log.createtime|date:Y-m-d H:i:s}</td>
            <td>{$admin_log.content|escape}</td>
            <td>{$admin_log.ip|escape}</td>
            <td>{$admin_log.url}</td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="10">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
	{include file="page.top.html"}
</div>
{include file="footer.html"}